In computer science, counting sort is an algorithm for sorting a collection of objects according to keys that are small integers; that is, it is an integer sorting algorithm. It operates by counting the number of objects that have each distinct key value, and using arithmetic on those counts to determine the positions of each key value in the output sequence.
counting: n. 计算。 counting house 〔英国〕=c ...sort: n. 1.种类,类别,品种;种。 2.品质,本性,性质。 ...comparison counting sort: 比较计数排序distribution counting sort: 分布式计数排序a sort of: 一种,某种in a sort: 有几分, 稍微, 多少no sort: 不排序of a sort: 同一类的, 较差的sort: n. 1.种类,类别,品种;种。 2.品质,本性,性质。 3.方法,情形,样子,程度。 4.某种人[物]。 5.【印刷】〔主 pl.〕一套铅字;〔pl.〕【纺织;印染】并级毛,同型毛。 6.〔古语〕(一)群,(一)伙。 all [several, these, those] sorts of hats 所有各种[种种,这几种,那几种]帽子。 He is a good [bad] sort (of a fellow). 〔口语〕他是好[坏]人。 He is the right sort. =He's my sort. 他倒是挺合适的人,他正是我需要的人。 Queer sort (of a thing) this! 〔口语〕这(东西)倒挺妙。 I don't believe anything of the sort. 我不相信这种事情。 He is not my sort. 他那种人我不喜欢。 That's your sort. 就是这个样呀;〔俚语〕那样做挺好。 This copy is hard [runs] on sorts. 【印刷】这件稿子要用几种铅字排。 after [in] a sort 有些,有几分,稍微。 all of a sort 差不多,大同小异。 all sort(s) of=of all sorts 一切种类的,各种各样的。 a sort of 一种;可以说是…的东西 〔cf. of a sort〕。 in any sort 无论如何,必须。 in a sort of way 略为,比较。 in some sort 多少,稍微。 no sort of 毫无。 nothing of the sort 根本没有那种事情,决没有那种事情。 of a sort 同一种[类];相当的;勉强称得上的,较差的,所谓的 (a war of a sort 所谓的战争。 a poet of a sort 蹩脚的诗人)。 of every sort and kind 各种各样的。 of one's sort 和某人同样身分[性质、品性]的。 of sorts 〔口语〕 1. =of a sort. 2. 各种各样的,未经挑选的。 of the sort 那样的。 out of sorts 觉得不舒服;情绪不好;没有精神;【印刷】铅字不全。 sort of=sorto' 〔美口〕〔用作副词〕几分,有点,稍微 (sort of moist 有点湿。 I sort of expected it. 我料到几分了。 Now sort of turn round! 来稍微转动一下吧)。 vt. 分类;整顿,整理;分选,拣 (out)。 vi. 〔英古〕一致,相配,适合 (with)。 sort letters 拣信。 a sorting room [clerk] (邮局)拣信室[员]。 sort out 清理。 sort by: 排序方式; 排序依据sort of: 有几分地that sort of: 那样的the sort of: 那种this sort of: 这种to sort: 分类,排序counting: n. 计算。 counting house 〔英国〕=counting room 〔美国〕账房;会计室;事务室。 counting overseer [witness] (投票的)唱票监察人。 a good sort: 好人a sort of life: 小说家的人生a word of a sort: 生气的话address sort: 地址分类; 地址排序advanced sort: 高级排序after a sort: 稍微; 有几分,可算是all of a sort: 差不多, 大同小异all-sort: 全检alphabetic sort: 字母分类